/**
 * Created by FernAbby on 2017/9/25.
 */
var app = angular.module('app', ['ui.router', 'controllers']);
app.config(['$stateProvider', '$urlRouterProvider', '$locationProvider', function ($stateProvider, $urlRouterProvider, $locationProvider) {
    $urlRouterProvider.otherwise('/');
    // $locationProvider.html5Mode(true);//去掉url里面的#
    $stateProvider
        .state('form', {
            url: '/',
            templateUrl: '/pages/chaikuaidi/form.html',
            controller: 'formController',
            cache: true,
            onEnter: function () {
            },
            onExit: function () {
            }
        });
}]);